<template>
    <div class="model-form">
        <el-page-header @back="goBack" content="详情">
        </el-page-header>
        <el-form class="viewForm" label-width="100px">
                    <el-col :span="22">
                        <el-form-item label="卡封面">
                            <div v-html="viewModel.logo"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="会员卡">
                            <div v-html="viewModel.cardName"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="会员卡名称">
                            <div v-html="viewModel.name"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="性别要求">
                            <div v-html="viewModel.genderName"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="会员卡价格">
                            <div v-html="viewModel.price"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="续费价格">
                            <div v-html="viewModel.renewPrice"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="卡类型">
                            <div v-html="viewModel.cardFeeTypeName"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="有效天数">
                            <div v-html="viewModel.day"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="排序号">
                            <div v-html="viewModel.sortNum"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="会员卡介绍">
                            <div v-html="viewModel.note"></div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="22">
                        <el-form-item label="续费说明">
                            <div v-html="viewModel.renewNote"></div>
                        </el-form-item>
                    </el-col>
        </el-form>
    </div>
</template>

<script>
    import common from "@/mixins/common.js";

    export default {
        name: "vipCardFee_view",
        mixins: [common],
        data() {
            return {
                viewModel: {},
                activeIndex: "1"
            }
        },
        async mounted() {
            let id = this.$route.query.id;
            let data = {};
            data.id = id;
            let res = await this.$http.form("/vipCardFee/view", data);
            if (res.code === 200) {
                this.viewModel = res.data;
            }
        }
    }
</script>

<style scoped>

</style>